﻿using System;

namespace Sustainalytics.DataLayer.Exceptions
{
    public class PortfolioCompanyNotFoundException: Exception
    {
        public Guid PortfolioCompanyId { get; private set; }
        public PortfolioCompanyNotFoundException(string message, Guid portfolioCompanyId)
            : base(message)
        {
            PortfolioCompanyId = portfolioCompanyId;
        }

        public PortfolioCompanyNotFoundException(string message, Exception innerException, Guid portfolioCompanyId)
            : base(message, innerException)
        {
            PortfolioCompanyId = portfolioCompanyId;
        }
    }
}
